<%@ page import="com.hy.model.Student" %><%--
  Created by IntelliJ IDEA.
  User: yoka24443
  Date: 2018-4-24
  Time: 19:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    Student model = (Student) session.getAttribute("student");
%>
<html>
<head>
    <title>Modify Student Ready</title>
</head>
<body>
    <form id="frm_Modify" method="post" action="./updateStudentAction">
        <table>
            <tr>
                <td>学号：</td>
                <td><%=model.getStudentNO()%></td>
                <td><input type="hidden" id="hid_StudentNO" name="studentNO" value="<%=model.getStudentNO()%>"/></td>
            </tr>
            <tr>
                <td>姓名：</td>
                <td><input type="text" id="txt_RealName" name="realName" value="<%=model.getRealName()%>"/></td>
                <td></td>
            </tr>
            <tr>
                <td>班级：</td>
                <td><input type="text" id="txt_ClassName" name="className" value="<%=model.getClassName()%>"/></td>
                <td></td>
            </tr>
            <tr>
                <td>年龄：</td>
                <td><input type="text" id="txt_Age" name="age" value="<%=model.getAge()%>"/> </td>
                <td></td>
            </tr>
            <tr>
                <td>电话：</td>
                <td><input type="text" id="txt_Tel" name="tel" value="<%=model.getTel()%>"/> </td>
                <td></td>
            </tr>
            <tr>
                <td>地址：</td>
                <td><input type="text" id="txt_Address" name="address" value="<%=model.getAddress()%>"/></td>
                <td></td>
            </tr>
            <tr>
                <td>QQ：</td>
                <td><input type="text" id="txt_QQ" name="qq" value="<%=model.getQq()%>"/></td>
                <td></td>
            </tr>
            <tr>
                <td>微信：</td>
                <td><input type="text" id="txt_Wechat" name="wechat" value="<%=model.getWechat()%>"/> </td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="submit" id="btn_Submit" value="更新"/>&nbsp;
                    <input type="reset" id="btn_Reset" value="重置">
                </td>
                <td></td>
            </tr>
        </table>
    </form>
</body>
</html>
